﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="manufacturerl.ascx.cs" Inherits="control_client_manufacturerl" %>
<script type="text/javascript">
    function Load(strImg)
    {    
        var s="";
        var arrayImg = strImg.split(".");
        if(arrayImg[1]=="swf")
        {
            s = s + "<div class=\"virus\" style=\"margin-top:10px; margin-bottom:20px\">";
            s = s + " <object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"230\" height=\"100\" id=\"Object2\" align=\"middle\" >";
            s = s + "       <param name=\"movie\" value=\"images/bannerquangcao/" + strImg + "\" />";
            s = s + "       <param name=\"quality\" value=\"high\" />";
            s = s + "       <param name=\"allowFullScreen\" value=\"true\" />";
            s = s + "       <param name=\"wmode\" value=\"transparent\" />";
            s = s + "       <param name=\"allowScriptAccess\" value=\"always\" />"
            s = s + "       <param name=\"_flashcreator\" value=\"http://www.photo-flash-maker.com\" />";
            s = s + "       <param name=\"_flashhost\" value=\"http://www.go2album.com\" />";
            s = s + "       <embed src=\"images/bannerquangcao/" + strImg + "\" width=\"230\" height=\"100\" quality=\"high\" allowFullScreen=\"true\" wmode=\"transparent\" allowScriptAccess=\"always\" name=\"tech\" align=\"middle\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />";
            s = s + "   </object>";
            s = s + "</div>";
        }
        else
        {
            s = s + "<div class=\"virus\" style=\"margin-top:10px; margin-bottom:10px\">";
            s = s + "    <img src=\"images/bannerquangcao/" + strImg +"\" width=\"230\" height=\"100\" />";
            s = s + "</div><br /><br /><br /><br /><br /> ";
        }
        document.write(s);
    }
</script>
<div class="col-module style2">                           
    <div class="col-module_header_l"></div>
    <div class="col-module_header_r"></div>                                    									
    <h3><span>Hãng</span> Sản xuất</h3>                                                                                            
    <div class="col-module-content clearfix">                                        
        <div class="iceaccordion">
            <asp:Repeater ID="rptDanhSachHangSanXuat" runat="server">
                <ItemTemplate>
                    <script language="javascript"> Load('<%# Eval("HinhAnh") %>');</script>
                </ItemTemplate>
            </asp:Repeater>                                               
            <%--<div class="virus" style="margin-top:10px;">                                                     
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="230" height="120" id="Object4" align="middle" >
                <param name="movie" value="download/media/swf/banner-hangsanxuat1.swf" />
                <param name="quality" value="high" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <param name="allowScriptAccess" value="always" />
                <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
                <param name="_flashhost" value="http://www.go2album.com" />
                <embed src="download/media/swf/banner-hangsanxuat1.swf" width="230" height="120" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                </object>                                                       
                </div>
                <div class="virus" style="margin-top:10px;">                                                     
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="230" height="120" id="Object5" align="middle" >
                <param name="movie" value="download/media/swf/banner-hangsanxuat2.swf" />
                <param name="quality" value="high" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <param name="allowScriptAccess" value="always" />
                <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
                <param name="_flashhost" value="http://www.go2album.com" />
                <embed src="download/media/swf/banner-hangsanxuat2.swf" width="230" height="120" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                </object>                                                       
                </div>--%>                                                 
        </div>
    </div>
    </div>